package com.mk.admin.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_pay_order")
public class PayOrderEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;              // 主键ID
    private String appId;         // 应用ID
    private String openId;        // 微信openId
    private String patId;         // 患者ID
    private Integer payType;      // 支付类型
    private String payTypeName;   // 支付类型名称
    private Integer payStatus;    // 支付状态
    private String payStatusName; // 支付状态名称
    private String orderTime; // 下单时间
    private String payTime;   // 支付时间
    private Integer payMoney;     // 支付金额
    private String payOrderNo;    // 支付订单号
    private String receiptNo;     // 收据号
    private String createTime; // 创建时间
    private String remark;        // 备注
    private String campusCode;      // 院区ID
    private String campusName;    // 院区名称
    private String departmentCode; // 科室编码
    private String departmentName; // 科室名称
    private String departmentAddress; // 科室地址
    private String doctorCode;    // 医生编码
    private String doctorName;    // 医生姓名
    private String doctorPhone;   // 医生电话
    private String visitTime; // 就诊时间
    private String visitArea;     // 就诊区域
    private Integer status;       // 状态
    private String jobTitle;      // 职称
    private Integer paySourceType; // 支付来源类型
    private String paySourceName; // 支付来源名称
    private String patName; // 患者名称
    private String doctorHead;
    @TableField(exist = false)
    private Integer canVisit;
    private String regType;
    private String schNo;
    private Integer deductAccountType;
    private Integer settleType;
    private String reserveSortNo;
    private String discountMoney;
    private String regId;
<<<<<<< HEAD
    private String totalAmount;
    private String selfPayMoney;
    private String medPay;
    private String accountPay;
    private String accountBalance;
    private String amountPayable;
=======
    private Integer totalAmount;
    private Integer selfPayMoney;
    private Integer medPay;
    private Integer accountPay;
    private Integer accountBalance;
    private Integer amountPayable;
>>>>>>> f2106939b942a7ac2c3470910120a35364fbfaac
    private String platformNo;
    private Integer payChannel;
    private String paySerialNo;
    private String updateTime;
    private String startVisitTime;
    private String endVisitTime;
    @TableField(exist = false)
    private String orderBy;
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer size;
}
